package com.ipad.net.entity;

import java.math.BigDecimal;
import java.util.List;

/**
 * Created by Administrator on 2019-05-09.
 */

public class DeliveryContainerEntity {

    /**
     * PICK_CODE : 拣货单号
     * DELIVERY : [{"ID":"配送单ID","BILL_CODE":"配送单号","NAME":"收货库房"}]
     */
    private int code;
    private String message;

    private String PICK_USER;
    private String PICK_CODE;
    private List<DeliveryBean> DELIVERY;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getPICK_USER() {
        return PICK_USER;
    }

    public void setPICK_USER(String PICK_USER) {
        this.PICK_USER = PICK_USER;
    }

    public String getPICK_CODE() {
        return PICK_CODE;
    }

    public void setPICK_CODE(String PICK_CODE) {
        this.PICK_CODE = PICK_CODE;
    }

    public List<DeliveryBean> getDELIVERY() {
        return DELIVERY;
    }

    public void setDELIVERY(List<DeliveryBean> DELIVERY) {
        this.DELIVERY = DELIVERY;
    }

    public static class DeliveryBean {
        /**
         * ID : 配送单ID
         * BILL_CODE : 配送单号
         * NAME : 收货库房
         */

        private String ID;
        private String BILL_CODE;
        private String NAME;
        private BigDecimal num;


        public BigDecimal getNum() {
            if (num == null)
                return BigDecimal.ZERO;
            return num;
        }

        public void setNum(BigDecimal totalNum) {
            this.num = totalNum;
        }

        public String getID() {
            return ID;
        }

        public void setID(String ID) {
            this.ID = ID;
        }

        public String getBILL_CODE() {
            return BILL_CODE;
        }

        public void setBILL_CODE(String BILL_CODE) {
            this.BILL_CODE = BILL_CODE;
        }

        public String getNAME() {
            return NAME;
        }

        public void setNAME(String NAME) {
            this.NAME = NAME;
        }
    }
}
